inline getprogname replacement
authorMichael Tokarev <mjt@tls.msk.ru>
Tue, 20 Jan 2026 19:27:54 +0000 (22:27 +0300)
committerMichael Tokarev <mjt@tls.msk.ru>
Sat, 24 Jan 2026 05:55:25 +0000 (08:55 +0300)
commit7165eeaa53b244ed7ac03c994cb24a051a4e1f39
tree3a4989ea2aa54a25e5474460cc024843a7d8ae65
parent94a75f9e6c08b88513233e366a0694ca11b90f11
inline getprogname replacement

Forwarded: not-needed

Inline getprogname() by using program_invocation_short_name
when available (like with glibc).

This makes a lot of binaries to avoid linkage to libreplace.

This is a short and dirty version, proper change for upstream
should clean up #ifdef'fery in replace.c.

Gbp-Pq: Name inline-getprogname.diff
lib/replace/replace.c
lib/replace/replace.h